import request, { scope } from '../../utils/request';

const categoryUrl = scope('user/category');

/**
 * 分类信息查询
 * @returns
 */
export const getCategory = () => {
  return request({
    url: categoryUrl('find'),
    method: 'get',
  });
};
